package com.indusfo.spc.service;

import com.indusfo.spc.pojo.RoleRight;
import com.indusfo.spc.vo.JSONObject;

import java.util.List;

public interface RoleRightService {
	               /**
	                * 查询角色权限信息
	                * @Title: RoleRightService   
	                * @param roleRight
	                * @return
	                */
            JSONObject selectRoleRight(RoleRight roleRight);
            /**
             * 更新角色权限信息
             * @Title: RoleRightService   
             * @param roleRight
             * @return
             */
            JSONObject updateRoleRight(RoleRight roleRight);
            /**
             * 启用可停用角色权限
             * @Title: RoleRightService   
             * @param lRoleRightId
             * @param lDataState
             * @return
             */
            String deleteRoleRight(Long[] lRoleRightId, Integer lDataState);
            /**
             *根据角色id删除角色菜单信息
             */
            JSONObject deleteRight(Integer lRoleId);

    void deleteRoleRightByRoleId(Long[] lRoleIds, Integer lDataState);

    List<RoleRight> queryRoleRightByRoleId(Integer lRoleId);
}
